package cn.labbook.bluetooth.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AmmeterReadingAmmeterView {
    private Integer id;

    private Double electricQuantity;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readingTime;

    private Double balance;

    private String lastBuy;

    private String electricityData;

    private String managerId;

    private String ammeterId;

    private String location;

    private Double useQuantity;

}